package com.xl98.service;

import com.xl98.entity.Appointment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
public interface AppointmentService extends IService<Appointment> {
    boolean insert(Appointment appointment);
    boolean update(Appointment appointment);
    boolean delete(String id);
    Appointment selectById(String id);
    List<Appointment> selectByUserId(String userId);
    List<Appointment> selectByConsultantId(String consultantId);
    List<Appointment> selectAll();
}
